home *** CD-ROM | disk | FTP | other *** search
- /* Program 33 */
- /*
- NOTE: all graphics programs are in white on a
- black(blue) background. If you don't like this
- combination it can easily be changed. You can
- change the parameters to the 'graphics'
- predicate, or you can change the drawing
- color. Read page 92 and try some combinations
- of parameters. For example: graphics(1,5,17)
- on a CGA will give you pink letters and a
- white line on a blue background. Other systems
- give different colors. Just explore.
- */
-
- goal
- makewindow(1,7,7,"graphics",0,0,25,80),
- write("Before graphics\nPress any key to continue"),readchar(_),
- graphics(1,1,0),
- line(4000,4000,10000,20000,7),
- write("ordinary write during graphics mode\nPress any key to continue"),
- readchar(_),
- text,
- write("\nAfter graphics").